/*
 * #%L
 * SwiftUICommonUtilities
 * $Id:$
 * $HeadURL:$
 * %%
 * Copyright (C) 2011 - 2012 Linkwithweb
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the 
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public 
 * License along with this program.  If not, see
 * <http://www.gnu.org/licenses/gpl-3.0.html>.
 * #L%
 */
/**
 * 
 */
package com.linkwithweb.products.swiftui.dataobject;

/**
 * DROP TABLE IF EXISTS `automata`.`FRM_WORKFLOW_TRANSACTION`;
 * CREATE TABLE `automata`.`FRM_WORKFLOW_TRANSACTION` (
 * `UNIQUE_KEY` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
 * `TRANSACTION_ID` VARCHAR(45) NOT NULL,
 * `WORKFLOW_ID` VARCHAR(45) NOT NULL,
 * `ROLE_ID` VARCHAR(45) NOT NULL,
 * `ACTED_BY` VARCHAR(45) NOT NULL,
 * `APPROVAL_STATUS` VARCHAR(45) NOT NULL,
 * TRANSACTION_PAYLOAD TEXT NOT NULL,
 * `IS_ACTIVE` BOOLEAN NOT NULL,
 * `IDENTIFIER` VARCHAR(45) NOT NULL,
 * `IDENTIFIER_ROLE` VARCHAR(45) NOT NULL,
 * `CREATED_BY` INTEGER UNSIGNED NOT NULL,
 * `CREATED_DATE` DATETIME NOT NULL,
 * `MODIFIED_BY` INTEGER UNSIGNED NOT NULL,
 * `MODIFIED_DATE` DATETIME NOT NULL,
 * PRIMARY KEY (`UNIQUE_KEY`)
 * )
 * ENGINE = InnoDB;
 * 
 * @author ashwin kumar
 * 
 */
public class FrameworkTransaction extends BaseDataObject {
	private long uniqueKey = -1;
	private String transactionId = "";
	private String workflowId = "";
	private String roleId = "";
	private String actedBy = "";
	private String approvalStatus = "";
	private String transactionPayload = "";
	private String tableName = "";
	private String action = "";

	private FrameworkWorkflow frameworkWorkflow = null;

	/**
	 * @return the uniqueKey
	 */
	public long getUniqueKey() {
		return uniqueKey;
	}

	/**
	 * @param uniqueKey
	 *            the uniqueKey to set
	 */
	public void setUniqueKey(long uniqueKey) {
		this.uniqueKey = uniqueKey;
	}

	/**
	 * @return the transactionId
	 */
	public String getTransactionId() {
		return transactionId;
	}

	/**
	 * @param transactionId
	 *            the transactionId to set
	 */
	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}

	/**
	 * @return the workflowId
	 */
	public String getWorkflowId() {
		return workflowId;
	}

	/**
	 * @param workflowId
	 *            the workflowId to set
	 */
	public void setWorkflowId(String workflowId) {
		this.workflowId = workflowId;
	}

	/**
	 * @return the roleId
	 */
	public String getRoleId() {
		return roleId;
	}

	/**
	 * @param roleId
	 *            the roleId to set
	 */
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	/**
	 * @return the actedBy
	 */
	public String getActedBy() {
		return actedBy;
	}

	/**
	 * @param actedBy
	 *            the actedBy to set
	 */
	public void setActedBy(String actedBy) {
		this.actedBy = actedBy;
	}

	/**
	 * @return the approvalStatus
	 */
	public String getApprovalStatus() {
		return approvalStatus;
	}

	/**
	 * @param approvalStatus
	 *            the approvalStatus to set
	 */
	public void setApprovalStatus(String approvalStatus) {
		this.approvalStatus = approvalStatus;
	}

	/**
	 * @return the transactionPayload
	 */
	public String getTransactionPayload() {
		return transactionPayload;
	}

	/**
	 * @param transactionPayload
	 *            the transactionPayload to set
	 */
	public void setTransactionPayload(String transactionPayload) {
		this.transactionPayload = transactionPayload;
	}

	/**
	 * @return the frameworkWorkflow
	 */
	public FrameworkWorkflow getFrameworkWorkflow() {
		return frameworkWorkflow;
	}

	/**
	 * @param frameworkWorkflow
	 *            the frameworkWorkflow to set
	 */
	public void setFrameworkWorkflow(FrameworkWorkflow frameworkWorkflow) {
		this.frameworkWorkflow = frameworkWorkflow;
	}

	/**
	 * @return the tableName
	 */
	public String getTableName() {
		return tableName;
	}

	/**
	 * @param tableName
	 *            the tableName to set
	 */
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	/**
	 * @return the action
	 */
	public String getAction() {
		return action;
	}

	/**
	 * @param action
	 *            the action to set
	 */
	public void setAction(String action) {
		this.action = action;
	}

}
